﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Inventor2.Master" AutoEventWireup="true" CodeBehind="healthinfo.aspx.cs" Inherits="HospitalSystem.healthinfo" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style6
        {
            width: 607px;
            text-align: right;
        }
        .style1
        {
            text-align: center;
        }
        .style7
        {
            font-size: medium;
            color: #000000;
        }
    </style>
    </asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">

</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="sidebar">
	<ul>
		<li>
			<h2>ลงทะเบียน,แก้ไขข้อมูล</h2>
			<ul>	
				<li><a href="reg.aspx?CID=<%=Request.QueryString["CID"]%>">ข้อมูลส่วนตัว</a></li>
				<li><a href="regfamilyok2.aspx" >ข้อมูลครอบครัว</a></li>
				<li><a href="healthinfo.aspx"  class="current">ข้อมูลด้านสุขภาพ</a></li>
                <li><a href="education.aspx">ข้อมูลด้านการศึกษา</a></li>
                <li><a href="rightsinfoshow.aspx">ข้อมูลสิทธิ</a></li>
				<li><asp:Image ID="Image1" runat="server" Height="162px" Width="179px" /></li>
			</ul>
		</li>
	</ul>
</div>
    <div id="content">
      <h3 class="style7">
                    ข้อมูลด้านสุขภาพ </h3>
                      <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>

    &nbsp;<asp:Panel ID="Panel1" runat="server" GroupingText="ข้อมูลสุขภาพ" 
        ForeColor="black" style="text-align: center">
        &nbsp;<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            style="text-align: center" Width="585px">
            <Columns>
                <asp:BoundField DataField="code" HeaderText="รหัส" />
                <asp:BoundField DataField="dec" HeaderText="รายละเอียด" />
                <asp:TemplateField HeaderText="วันเป้าหมาย">
                    <HeaderTemplate>
                        เลือก
                    </HeaderTemplate>
                    <ItemTemplate>
                        <asp:CheckBox ID="CaseSelector4" runat="server" />
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="note">
                    <HeaderTemplate>
                        ระบุรายละเอียด
                    </HeaderTemplate>
                    <ItemTemplate>
                        <asp:TextBox ID="TextBox3" runat="server" HeaderText="note" Text=""></asp:TextBox>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <AlternatingRowStyle BackColor="White" />
            <EditRowStyle BackColor="#2461BF" />
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="black" />
            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="black" />
            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
            <RowStyle BackColor="#EFF3FB" />
            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
            <SortedAscendingCellStyle BackColor="#F5F7FB" />
            <SortedAscendingHeaderStyle BackColor="#6D95E1" />
            <SortedDescendingCellStyle BackColor="#E9EBEF" />
            <SortedDescendingHeaderStyle BackColor="#4870BE" />
        </asp:GridView>
        <br />
        <asp:Button ID="submit" runat="server" onclick="Button1_Click" Text="บันทึก" Width="300px"/>
    </asp:Panel>
      <asp:Panel ID="Panel2" runat="server" GroupingText="ข้อมูลสุขภาพ" 
        ForeColor="black" style="text-align: center">
          <asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False" 
              Width="581px">
              <Columns>
                  <asp:BoundField DataField="code" HeaderText="รหัส" />
                  <asp:BoundField DataField="dec" HeaderText="รายละเอียด" />
                  <asp:TemplateField HeaderText="note">
                      <HeaderTemplate>
                          ระบุรายละเอียด
                      </HeaderTemplate>
                      <ItemTemplate>
                          <asp:Label ID="Labeledu" runat="server" Text="Label"></asp:Label>
                      </ItemTemplate>
                  </asp:TemplateField>
              </Columns>
              <AlternatingRowStyle BackColor="White" />
              <EditRowStyle BackColor="#2461BF" />
              <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
              <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
              <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
              <RowStyle BackColor="#EFF3FB" />
              <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
              <SortedAscendingCellStyle BackColor="#F5F7FB" />
              <SortedAscendingHeaderStyle BackColor="#6D95E1" />
              <SortedDescendingCellStyle BackColor="#E9EBEF" />
              <SortedDescendingHeaderStyle BackColor="#4870BE" />
          </asp:GridView>
          <br />
          <asp:Button ID="edit" runat="server" onclick="edit_Click" Text="แก้ไข" Width="300px" />
    </asp:Panel>
              </ContentTemplate>
    </asp:UpdatePanel>

    <table>
    <tr>
            <td class="style6">
                <a id="A1"  href="regfamilyok2.aspx"><img src="img/black.jpg" alt="black" 
                    class="style1"></a>
                <a id="A2"  href="education.aspx"><img src="img/next.jpg" alt="next" 
                    class="style1"></a>
            </td>
    </tr>
    </table>
        </div>
</asp:Content>
